import axios from 'axios'
import qs from 'qs'

axios.defaults.baseURL = process.env.VUE_APP_BASE_API + 'mall'

export const getOauthToken = (params) => { return axios.post('/oauth/token', qs.stringify(params)).then(response => response.data) }
